home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 49
/
Amiga Format CD49 (2000-01-17)(Future Publishing)(GB)(Track 1 of 3)[!][issue 2000-02].iso
/
-serious-
/
programming
/
e
/
powerd0.06
/
modules
/
exec
/
semaphores.m
< prev
next >
Wrap
Text File
|
1999-11-30
|
352b
|
29 lines
MODULE 'exec/lists',
'exec/nodes',
'exec/ports',
'exec/tasks'
OBJECT SSR
MLN:MLN,
Waiter:PTR TO TC
OBJECT SS
LN:LN,
NestCount:INT,
WaitQueue:MLH,
MultipleLink:SSR,
Owner:PTR TO TC,
QueueCount:INT
OBJECT SemaphoreMessage
MN:MN,
Semaphore:PTR TO SS
OBJECT SM
MP:MP,
Bids:INT
CONST SM_LOCKMSG=16,
SM_SHARED=1,
SM_EXCLUSIVE=0